package com.qzct.mapper;

import com.mybatisflex.core.BaseMapper;
import com.qzct.entity.AttractionImgs;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 *  映射层。
 *
 * @author 闽闽
 * @since 2025-01-11
 */
public interface AttractionImgsMapper extends BaseMapper<AttractionImgs> {

    @Select("select * from tb_attraction_imgs where attraction_id=#{id}")
    ArrayList<AttractionImgs> getByCid(@Param("id") int id);
}
